Skip to main content
GET
/integration/:id/completeness

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Encoded integration id (an opaque base-36 string such as gjdhye, as returned by GET /v1/integration). Never the raw numeric id.

Query Parameters

scope
string
default:all

Context to check: all (default), organisation:{organisation id}, ad_stack:{ad stack id}, publisher:{publisher uid} or config:{ad unit id}. Type and id are separated by a single colon. Unrecognised values (including a type with no id) behave as all.

Pattern: ^(all|(organisation|ad_stack|publisher|config):[0-9]+)$
stack
integer

Only with scope=publisher:{uid}: count only the publisher's ad units on this ad stack. Ignored unless numeric, and for other scopes.

uid
integer

Optional publisher uid. When given, the integration is looked up among those available to this publisher's organisation (and its parents) instead of the caller's own. The publisher must exist and not be archived; a restricted (non-core) caller may only pass a publisher of their own organisation, otherwise 404 Not Found.

Required range: x >= 1

Response

Completeness for the scope.

results
object
required
success
boolean
required

Always true on success.